import { buildCreateSlice, asyncThunkCreator } from "@reduxjs/toolkit";
// `buildCreateSlice` allows us to create a slice with async thunks.
export const createAppSlice = buildCreateSlice({
  creators: { asyncThunk: asyncThunkCreator },
});
